package com.example.flower_shop.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "预下单请求信息")
public class PreOrderReq {
    @NotBlank(message = "预下单方式不能为空")
    @Schema(description = "预下单方式，buyNow-立即购买 shoppingCart-购物车")
    private String preOrderType;
    @Schema(description = "预下单商品列表")
    private List<PreOrderDetail> orderDetails;
}
